﻿@model DataMongo.Entities.Language
@{
    ViewBag.Title = "EyeColorEdit";
}

<div class="alert alert-info alert-dismissable">
    Edit Language
</div>
<div id="page-wrapper">

    <div class="row">
        <div class="col-lg-6">

            @using (Html.BeginForm("EditLanguage", "PersonalDetails", FormMethod.Post, new { enctype = "multipart/form-data" }))
            {
                @Html.HiddenFor(x => x.IsActive)
                @Html.HiddenFor(x => x.LanguageId)

                @Html.AntiForgeryToken()
                @Html.ValidationSummary(true)

                <div class="form-group">
                    <label>Edit</label>
                    @Html.TextBoxFor(m => m.Title, new { @class = "form-control" })

                </div>
                <button type="submit" class="btn btn-default">Save</button>
                @Html.ActionLink("Back To List", "Language", "PersonalDetails", "", new { @class = "btn btn-info" })

            }

        </div>

    </div><!-- /.row -->

</div>